    /* 404 Error Page CSS */

/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
  --primary-color: #8b5a2b;
  --secondary-color: #d4af37;
  --accent-color: #a67c52;
  --text-color: #333;
  --light-text: #f5f5f0;
  --background-color: #f9f5f0;
  --card-bg: #fff;
  --header-bg: #1a1a1a;
  --footer-bg: #1a1a1a;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Cursor */
.cursor {
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-active {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: transparent;
  border: 1px solid var(--secondary-color);
}

.cursor-follower-active {
  transform: translate(-50%, -50%) scale(0.5);
  background-color: rgba(212, 175, 55, 0.1);
}



/* 404 Error Container */
.error-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/antique-hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.error-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.5) 70%);
  z-index: 1;
}

.error-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 4rem;
  border-radius: 15px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  animation: fadeIn 1s ease;
}

/* 404 Code Styling */
.error-code {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.error-code span {
  font-size: 8rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

/* Clock in the middle of 404 */
.error-clock {
  width: 120px;
  height: 120px;
  background-color: var(--light-text);
  border-radius: 50%;
  border: 8px solid var(--secondary-color);
  margin: 0 1rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.clock-face {
  width: 100%;
  height: 100%;
  position: relative;
}

.clock-face::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.clock-hour {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 30px;
  background-color: var(--primary-color);
  transform-origin: bottom center;
  border-radius: 4px;
  transform: translate(-50%, -100%);
}

.clock-minute {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 40px;
  background-color: var(--accent-color);
  transform-origin: bottom center;
  border-radius: 4px;
  transform: translate(-50%, -100%);
}

/* Error Message */
.error-title {
  font-size: 3rem;
  color: var(--light-text);
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.error-message {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2.5rem;
}

/* Decorative Elements */
.error-decorations {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

.decoration-item {
  position: absolute;
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.3);
  animation: float 3s infinite ease-in-out;
}

.decoration-1 {
  top: 15%;
  left: 10%;
  font-size: 2.5rem;
  animation-delay: 0.2s;
}

.decoration-2 {
  bottom: 20%;
  right: 15%;
  font-size: 3rem;
  animation-delay: 0.5s;
}

.decoration-3 {
  top: 25%;
  right: 10%;
}

/* Action Buttons */
.error-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.home-btn, .explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  font-size: 1.1rem;
}

.home-btn {
  background-color: var(--primary-color);
  color: var(--light-text);
  box-shadow: 0 10px 20px rgba(139, 90, 43, 0.3);
}

.explore-btn {
  background-color: transparent;
  color: var(--light-text);
  border: 2px solid var(--secondary-color);
}

.home-btn:hover, .explore-btn:hover {
  transform: translateY(-5px);
}

.home-btn:hover {
  background-color: var(--secondary-color);
}

.explore-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}



/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .error-content {
    padding: 3rem;
    max-width: 700px;
  }
}

@media screen and (max-width: 992px) {
  .error-code span {
    font-size: 6rem;
  }
  
  .error-clock {
    width: 100px;
    height: 100px;
  }
  
  .error-title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  
  .error-content {
    padding: 2rem;
  }
  
  .error-code {
    margin-bottom: 1.5rem;
  }
  
  .error-code span {
    font-size: 5rem;
  }
  
  .error-clock {
    width: 80px;
    height: 80px;
    border-width: 6px;
  }
  
  .error-title {
    font-size: 2rem;
  }
  
  .error-message {
    font-size: 1rem;
  }
  
  .error-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .home-btn, .explore-btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-section {
    width: 100%;
    padding: 0;
    margin-bottom: 3rem;
  }
}

@media screen and (max-width: 576px) {
  .logo {
    font-size: 1.5rem;
  }
  
  .error-code span {
    font-size: 4rem;
  }
  
  .error-clock {
    width: 60px;
    height: 60px;
    border-width: 4px;
    margin: 0 0.5rem;
  }
  
  .clock-hour {
    height: 20px;
  }
  
  .clock-minute {
    height: 25px;
  }
  
  .error-title {
    font-size: 1.8rem;
  }
  
  .error-message {
    font-size: 0.9rem;
  }
  
  .decoration-item {
    font-size: 1.5rem;
  }
}